﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MapAndCharacter_Filip
{
    class Classes
    {
        public string className { get; set; }

        public string classRole { get; set; }

        public string classAlignment { get; set; }

        public List<string> classSkills { get; set; }

        public string classHitDie { get; set; }

        public int classSkillRank { get; set; }

        public string classSkillRankString { get; set; }

        public Dictionary<string,int[]> classSaves { get; set; }

        public Dictionary<string, string[]> classSpecials { get; set; }

        public Dictionary<string,string[]> classBaseAttack { get; set; }

        public Classes()
        {
            className = "";
            classRole = "";
            classAlignment = "";
            classSkills = new List<string>();
            classHitDie = "";
            classSkillRank = 0;
            classSkillRankString = "";
            classSaves = new Dictionary<string, int[]>();
            classBaseAttack = new Dictionary<string, string[]>();
            classSpecials = new Dictionary<string, string[]>();
        }

        public void createClassDictionary(string levelString, int BAcount, int Scount)
        {
            classBaseAttack[levelString] = new string[BAcount];
            classSaves[levelString] = new int[3];
            classSpecials[levelString] = new string[Scount];
            classSkills = new List<string>();

        }
    }
}
